<?php
/**
 * User: ngreduce
 * Date: 16.03.11
 * Time: 19:32
 */
 
class ModerationDecline extends CFormModel {

    public $id;
    public $reason;

    public function rules()
    {
        return array(
            array('id', 'numerical', 'integerOnly'=>true),
            array('reason', 'length', 'max'=>2500),
        );
    }

    public function attributeLabels()
    {
        return array(
            'reason'=>Yii::t('mj-base', 'Reason'),
        );
    }
}
